package com.seckill.user.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 * @author 作者
 * @since 2022-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_user")
////@ApiModel(value="User", description="用户表")
public class User implements Serializable {


    ////@ApiModelProperty(value = "用户名")
    @TableId("username")
    private String username;

    ////@ApiModelProperty(value = "密码，加密存储")
    @TableField("password")
    private String password;

    ////@ApiModelProperty(value = "注册手机号")
    @TableField("phone")
    private String phone;

    ////@ApiModelProperty(value = "注册邮箱")
    @TableField("email")
    private String email;

    ////@ApiModelProperty(value = "创建时间")
    @TableField("created")
    private Date created;

    ////@ApiModelProperty(value = "修改时间")
    @TableField("updated")
    private Date updated;

    ////@ApiModelProperty(value = "昵称")
    @TableField("nick_name")
    private String nickName;

    ////@ApiModelProperty(value = "真实姓名")
    @TableField("name")
    private String name;


}
